package com.foreknow.hospital.service;

import com.foreknow.hospital.po.Hospital;

import java.util.List;

public interface HospitalService {

    /**
     * 根据点餐分类编号查询所属商家信息
     * @return
     */
    public List<Hospital> listHospitalByOrderTypeId(int orderTypeId);

    /**
     * 根据商家编号查询商家信息
     *
     * @param HpId
     * @return
     * @throws java.sql.SQLException
     */
    public static Hospital getHospitalById(Hospital HpId) {
        return null;
    }

    Hospital getHospitalById(int HpId);
}
